using NHibernate.Validator.Constraints;
using SharpArch.Core.PersistenceSupport;
using SharpArch.Core.DomainModel;
using System;

namespace ETestIT.Core
{
    public class Resume : Entity
    {
        public Resume() { }
		
		[NotNullNotEmpty]
		public virtual string Name { get; set; }

		[NotNull]
		public virtual byte[] Content { get; set; }

		[NotNullNotEmpty]
		public virtual string ContentType { get; set; }

		public virtual int Version { get; set; }
    }
}
